package com.tzl.design_pattern.strategy_pattern;

/**
 * 支付方式的工厂
 *
 * @author Zhilei Tang
 * @date Created in 2020/11/14 17:13
 */
public class PayTypeFactory {

  public static PayStrategy getPayType(PayTypeEnum payType) {
    return payType.getPayType();
  }
}
